
<!DOCTYPE html>
<html class="no-js">
<head lang="en">

    <#include "../head_import.html" />

</head>
<body>
<#include "../include/top_nav.html">
    <div class="am-cf admin-main">

        <!-- sidebar start -->
        <#include "../article/left.html">
            <!-- sidebar end -->
            <!-- content start-->
            <div class="admin-content">
                <div class="am-cf am-padding">
                    <div class="am-fl am-cf"><@s.m "global.position"/>: <@s.m "shopArticle.function"/> - <@s.m "global.add"/></div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <form class="ropt">
                            <input type="submit" value="<@s.m "global.backToList"/>" onclick="this.form.action='list.do';"/>
                        </form>
                    </div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <@p.form id="baseForm" action="o_save.do" labelWidth="12">
                        <@p.select colspan="2" width="100" label="shopArticle.channel" name="channelId" list=channelList  value=(cid)!  listKey="id" listValue="name" listDeep="deep" headerKey="" headerValue="global.none" required="true"/><@p.tr/>
                        <@p.td colspan="2" width="100"  label="shopArticle.title" required="true" >
                        <@p.text name="title" size="70" required="true" class="required"  maxlength="255"/>
                        <label><input type="checkbox" onclick="$('#linkDiv').toggle(this.checked);if(!this.checked){$('#link').val('');}"/><@s.m "global.link"/></label>
                        <div id="linkDiv" style="display:none">url: <input type="text" id="link" name="link" size="35" maxlength="255"/></div>
                    </@p.td><@p.tr/>
                    <@p.text colspan="1" width="50" label="shopArticle.publishTime" readonly="readonly"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" help="shopArticle.publishTime.help"/>
                    <@p.radio colspan="1" width="50" label="shopArticle.disabled" name="disabled" value="false" list={"true":"global.true","false":"global.false"}/><@p.tr/>
                    <@p.editor colspan="2" width="100"  label="shopArticle.content" name="content" height="300"/><@p.tr/>
                    <@p.td colspan="2" width="100"  label="shopArticle.extendData">
                    <@s.m "shopArticle.data"/>2: <@p.text name="param2"/> &nbsp;
                    <@s.m "shopArticle.data"/>3: <@p.text name="param3"/>
                </@p.td><@p.tr/>
                <@p.td colspan="2" width="100" ><@p.submit code="global.submit"/> &nbsp; <@p.reset code="global.reset"/></@p.td>
        </@p.form>

    </div>
    </div>



    </div>

    </div>
</body>
</html>




